﻿<UserControl
    x:Class="EagleGO.KiFUInfoControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:EagleGO"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="250"
    d:DesignWidth="250">

    <Grid HorizontalAlignment="Left" Width="250" Height="250">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="125*" />
    		<RowDefinition Height="125*"/>
    	</Grid.RowDefinitions>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="125*"/>
    		<ColumnDefinition Width="125*"/>
    	</Grid.ColumnDefinitions>
        <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}">
            <Image x:Name="imgMain"  Stretch="UniformToFill" Source="Assets/KiFuDefault.jpg" />
        </Border>
        <StackPanel Background="{StaticResource ListViewItemOverlayBackgroundThemeBrush}" Grid.ColumnSpan="2" Grid.Row="1">
            <TextBlock x:Name="tbTitle"  Foreground="{StaticResource ListViewItemOverlayForegroundThemeBrush}" Style="{StaticResource TitleTextStyle}" Height="44" Margin="15,0,15,0"/>
            <TextBlock x:Name="tbDescription"  Foreground="{StaticResource ListViewItemOverlaySecondaryForegroundThemeBrush}" Style="{StaticResource CaptionTextStyle}" TextWrapping="NoWrap" Margin="15,0,15,10" Height="68"/>
        </StackPanel>
        <StackPanel Grid.Column="1" Height="125" VerticalAlignment="Bottom" Background="{StaticResource ListViewItemOverlayBackgroundThemeBrush}">
        	<TextBlock x:Name="tbBlackPlayer"  TextWrapping="Wrap"  Height="22" Margin="5" Style="{StaticResource CaptionTextStyle}"/>
        	<TextBlock x:Name="tbWhitePlayer"  TextWrapping="Wrap"  Height="22" Margin="5" Style="{StaticResource CaptionTextStyle}"/>
        	<TextBlock x:Name="tbResult" TextWrapping="Wrap"  Height="22" Margin="5" Style="{StaticResource CaptionTextStyle}"/>
        </StackPanel>
    </Grid>
</UserControl>
